package com.gzist.elderlyserviceplatform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzist.elderlyserviceplatform.entity.dto.ListQueryPageDTO;
import com.gzist.elderlyserviceplatform.entity.po.Announcement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzist.elderlyserviceplatform.entity.vo.HomePageAnnouncementVO;

import java.util.List;

/**
 * 公告信息表 服务类
 */
public interface AnnouncementService extends IService<Announcement> {

    Page<Announcement> list(ListQueryPageDTO listQueryPageDTO);

    void update(Announcement announcement);

    List<HomePageAnnouncementVO> getHomePageList();
}
